Repository navigation
feat(static-site-deploy): discover deploy targets from the AWS profile during setup - #168
Merged
devin-ai-integration[bot] merged 3 commits intoDec 2, 2026
Conversation
Contributor
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
|
Caution Review failedThe pull request is closed. Walkthrough
|
Contributor
There was a problem hiding this comment.
Devin Review found 1 finding. Devin automatically fixed it.
Fixed by Devin (1)
- Wrong deployment bucket for routed homepages — Bucket comes only from the default origin, and discovery is skipped when any ordered behavior targets another origin.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
static-site-deploy setupused to prompt for the S3 bucket, CloudFront distribution ID, homepage URL, region and AWS account ID even when an AWS profile was already signed in. Setup now discovers them (newdiscover.ts, setup path only, never in CI):aws sts get-caller-identitySITE_URL←https://<repo-name>when the repo name is domain-shaped (e.g.acme.example)Aliasesinclude the site hosts3api get-bucket-location(empty ⇒us-east-1)Discovered values are printed; explicit flags and env vars always win; any failed lookup falls back to the existing prompt. So setup becomes:
Tests mock the
awscalls; README, skill and skill ZIP updated.Implemented in session Set up automated deploys for latex2js.com and mathapedia.com
Review with Devin · Open in Devin Desktop
Summary by CodeRabbit
SITE_URLwhen the repository name does not indicate the site’s domain.